package com.xsf.jieyou.scheduled;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Scheduled 启动类
 * 注意点:
 * 2,调度中心 和  任务   需要在同一个服务器环境
 *
 * @author xsf
 * @version v1.0.0
 * @date 2019/12/16 0016 16:47
 * @see com.xsf.jieyou.scheduled
 **/
@SpringBootApplication
@EnableDiscoveryClient
public class ScheduledApplication {
    public static void main(String[] args) {
        SpringApplication.run(ScheduledApplication.class, args);
    }
}
